<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.2.2" />
<style type="text/css">
/* Debug borders */
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
/*
  border: 1px solid red;
*/
}

body {
  margin: 1em 5% 1em 5%;
}

a {
  color: blue;
  text-decoration: underline;
}
a:visited {
  color: fuchsia;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

tt {
  color: navy;
}

h1, h2, h3, h4, h5, h6 {
  color: #527bbd;
  font-family: sans-serif;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1 {
  border-bottom: 2px solid silver;
}
h2 {
  border-bottom: 2px solid silver;
  padding-top: 0.5em;
}

div.sectionbody {
  font-family: serif;
  margin-left: 0;
}

hr {
  border: 1px solid silver;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

pre {
  padding: 0;
  margin: 0;
}

span#author {
  color: #527bbd;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.1em;
}
span#email {
}
span#revision {
  font-family: sans-serif;
}

div#footer {
  font-family: sans-serif;
  font-size: small;
  border-top: 2px solid silver;
  padding-top: 0.5em;
  margin-top: 4.0em;
}
div#footer-text {
  float: left;
  padding-bottom: 0.5em;
}
div#footer-badges {
  float: right;
  padding-bottom: 0.5em;
}

div#preamble,
div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
div.admonitionblock {
  margin-right: 10%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
div.admonitionblock {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

div.content { /* Block element content. */
  padding: 0;
}

/* Block element titles. */
div.title, caption.title {
  font-family: sans-serif;
  font-weight: bold;
  text-align: left;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}
div.title + * {
  margin-top: 0;
}

td div.title:first-child {
  margin-top: 0.0em;
}
div.content div.title:first-child {
  margin-top: 0.0em;
}
div.content + div.title {
  margin-top: 0.0em;
}

div.sidebarblock > div.content {
  background: #ffffee;
  border: 1px solid silver;
  padding: 0.5em;
}

div.listingblock {
  margin-right: 0%;
}
div.listingblock > div.content {
  border: 1px solid silver;
  background: #f4f4f4;
  padding: 0.5em;
}

div.quoteblock > div.content {
  padding-left: 2.0em;
}

div.attribution {
  text-align: right;
}
div.verseblock + div.attribution {
  text-align: left;
}

div.admonitionblock .icon {
  vertical-align: top;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: underline;
  color: #527bbd;
  padding-right: 0.5em;
}
div.admonitionblock td.content {
  padding-left: 0.5em;
  border-left: 2px solid silver;
}

div.exampleblock > div.content {
  border-left: 2px solid silver;
  padding: 0.5em;
}

div.verseblock div.content {
  white-space: pre;
}

div.imageblock div.content { padding-left: 0; }
div.imageblock img { border: 1px solid silver; }
span.image img { border-style: none; }

dl {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
dt {
  margin-top: 0.5em;
  margin-bottom: 0;
  font-style: italic;
}
dd > *:first-child {
  margin-top: 0;
}

ul, ol {
    list-style-position: outside;
}
ol.olist2 {
  list-style-type: lower-alpha;
}

div.tableblock > table {
  border: 3px solid #527bbd;
}
thead {
  font-family: sans-serif;
  font-weight: bold;
}
tfoot {
  font-weight: bold;
}

div.hlist {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
div.hlist td {
  padding-bottom: 5px;
}
td.hlist1 {
  vertical-align: top;
  font-style: italic;
  padding-right: 0.8em;
}
td.hlist2 {
  vertical-align: top;
}

@media print {
  div#footer-badges { display: none; }
}

div#toctitle {
  color: #527bbd;
  font-family: sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.0em;
  margin-bottom: 0.1em;
}

div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
  margin-top: 0;
  margin-bottom: 0;
}
div.toclevel2 {
  margin-left: 2em;
  font-size: 0.9em;
}
div.toclevel3 {
  margin-left: 4em;
  font-size: 0.9em;
}
div.toclevel4 {
  margin-left: 6em;
  font-size: 0.9em;
}
/* Workarounds for IE6's broken and incomplete CSS2. */

div.sidebar-content {
  background: #ffffee;
  border: 1px solid silver;
  padding: 0.5em;
}
div.sidebar-title, div.image-title {
  font-family: sans-serif;
  font-weight: bold;
  margin-top: 0.0em;
  margin-bottom: 0.5em;
}

div.listingblock div.content {
  border: 1px solid silver;
  background: #f4f4f4;
  padding: 0.5em;
}

div.quoteblock-content {
  padding-left: 2.0em;
}

div.exampleblock-content {
  border-left: 2px solid silver;
  padding-left: 0.5em;
}

/* IE6 sets dynamically generated links as visited. */
div#toc a:visited { color: blue; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
window.onload = function(){generateToc(2)}
/* Author: Mihai Bazon, September 2002
 * http://students.infoiasi.ro/~mishoo
 *
 * Table Of Content generator
 * Version: 0.4.sp
 *
 * Feel free to use this script under the terms of the GNU General Public
 * License, as long as you do not remove or alter this notice.
 */

 /* modified by Troy D. Hanson, September 2006. License: GPL */
 /* modified by Stuart Rackham, October 2006. License: GPL */
 /* modified by Shawn Pearce, August 2009. License: GPL */

function getText(el) {
  var text = "";
  for (var i = el.firstChild; i != null; i = i.nextSibling) {
    if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
      text += i.data;
    else if (i.firstChild != null)
      text += getText(i);
  }
  return text;
}

function TocEntry(el, text, toclevel) {
  this.element = el;
  this.text = text;
  this.toclevel = toclevel;
  this.assigned = false;

  if (el.id != '') {
    this.id = el.id;

  } else {
    var a = el.firstChild;
    if ((a.tagName == "a" || a.tagName == "A") && a.id != "") {
      this.id = a.id;
    } else {
      this.id = '';
    }
  }
}

function tocEntries(el, toclevels) {
  var result = new Array;
  var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
  // Function that scans the DOM tree for header elements (the DOM2
  // nodeIterator API would be a better technique but not supported by all
  // browsers).
  var iterate = function (el) {
    for (var i = el.firstChild; i != null; i = i.nextSibling) {
      if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
        var mo = re.exec(i.tagName)
        if (mo)
          result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
        iterate(i);
      }
    }
  }
  iterate(el);
  return result;
}

// This function does the work. toclevels = 1..4.
function generateToc(toclevels) {
  var simple_re = new RegExp('^[a-zA-Z._ -]{1,}$');
  var entries = tocEntries(document.getElementsByTagName("body")[0], toclevels);
  var usedIds = new Array();

  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    if (entry.id != "")
      usedIds[entry.id] = entry;
  }

  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    if (entry.id != "" || !simple_re.exec(entry.text))
      continue;

    var n = entry.text.replace(/ /g, '_').toLowerCase();
    var e = usedIds[n];
    if (e) {
      if (e.assigned)
        e.id = '';
      continue;
    }

    entry.assigned = true;
    entry.id = n;
    entry.element.id = entry.id;
    usedIds[n] = entry;
  }

  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    if (entry.id == '') {
      entry.id = "toc" + i;
      entry.element.id = entry.id;
    }
  }

  var toc = document.getElementById("toc");
  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    var a = document.createElement("a");
    a.href = "#" + entry.id;
    a.appendChild(document.createTextNode(entry.text));
    var div = document.createElement("div");
    div.appendChild(a);
    div.className = "toclevel" + entry.toclevel;
    toc.appendChild(div);
  }
}
/*]]>*/
</script>
<title>Gerrit Code Review - Searching Changes</title>
</head>
<body>
<div id="header">
<h1>Gerrit Code Review - Searching Changes</h1>
<span id="revision">version 2.1.6</span>
<div id="toc">
  <div id="toctitle">Table of Contents</div>
  <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
</div>
</div>
<h2>Default Searches</h2>
<div class="sectionbody">
<p>Most basic searches can be viewed by clicking on a link along the top
menu bar.  The link will prefill the search box with a common search
query, execute it, and present the results.  If exactly one change
matches the search, the change will be presented instead of a list.</p>
<div class="tableblock">
<table rules="all"
frame="hsides"
cellspacing="0" cellpadding="4">
<col width="320" />
<col width="354" />
<thead>
  <tr>
    <th align="left">
    Description
    </th>
    <th align="left">
    Default Query
    </th>
  </tr>
</thead>
<tbody valign="top">
  <tr>
    <td align="left">
    All &gt; Open
    </td>
    <td align="left">
    status:open <em>(or is:open)</em>
    </td>
  </tr>
  <tr>
    <td align="left">
    All &gt; Merged
    </td>
    <td align="left">
    status:merged
    </td>
  </tr>
  <tr>
    <td align="left">
    All &gt; Abandoned
    </td>
    <td align="left">
    status:abandoned
    </td>
  </tr>
  <tr>
    <td align="left">
    My &gt; Dafts
    </td>
    <td align="left">
    has:draft
    </td>
  </tr>
  <tr>
    <td align="left">
    My &gt; Watched Changes
    </td>
    <td align="left">
    status:open is:watched
    </td>
  </tr>
  <tr>
    <td align="left">
    My &gt; Starred Changes
    </td>
    <td align="left">
    is:starred
    </td>
  </tr>
  <tr>
    <td align="left">
    Open changes in Foo
    </td>
    <td align="left">
    status:open project:Foo
    </td>
  </tr>
</tbody>
</table>
</div>
</div>
<h2>Basic Change Search</h2>
<div class="sectionbody">
<p>Similar to many popular search engines on the web, just enter some
text and let Gerrit figure out the meaning:</p>
<div class="tableblock">
<table rules="all"
frame="hsides"
cellspacing="0" cellpadding="4">
<col width="388" />
<col width="354" />
<thead>
  <tr>
    <th align="left">
    Description
    </th>
    <th align="left">
    Examples
    </th>
  </tr>
</thead>
<tbody valign="top">
  <tr>
    <td align="left">
    Legacy numerical id
    </td>
    <td align="left">
    15183
    </td>
  </tr>
  <tr>
    <td align="left">
    Full or abbreviated Change-Id
    </td>
    <td align="left">
    Ic0ff33
    </td>
  </tr>
  <tr>
    <td align="left">
    Full or abbreviated commit SHA-1
    </td>
    <td align="left">
    d81b32ef
    </td>
  </tr>
  <tr>
    <td align="left">
    Email address
    </td>
    <td align="left">
    user@example.com
    </td>
  </tr>
  <tr>
    <td align="left">
    Approval requirement
    </td>
    <td align="left">
    CodeReview&gt;=+2, Verified=1
    </td>
  </tr>
</tbody>
</table>
</div>
</div>
<h2>Search Operators</h2>
<div class="sectionbody">
<p>Operators act as restrictions on the search.  As more operators
are added to the same query string, they further restrict the
returned results.</p>
<a id="age"></a><dl>
<dt>
age:<em>AGE</em>
</dt>
<dd>
<p>Amount of time that has expired since the change was last updated
with a review comment or new patch set.  The age must be specified
to include a unit suffix, for example <tt>age:2d</tt>:</p>
<ul>
<li>
<p>
s, sec, second, seconds
</p>
</li>
<li>
<p>
m, min, minute, minutes
</p>
</li>
<li>
<p>
h, hr, hour, hours
</p>
</li>
<li>
<p>
d, day, days
</p>
</li>
<li>
<p>
w, week, weeks (<tt>1 week</tt> is treated as <tt>7 days</tt>)
</p>
</li>
<li>
<p>
mon, month, months (<tt>1 month</tt> is treated as <tt>30 days</tt>)
</p>
</li>
<li>
<p>
y, year, years (<tt>1 year</tt> is treated as <tt>365 days</tt>)
</p>
</li>
</ul>
</dd>
</dl>
<a id="change"></a><dl>
<dt>
change:<em>ID</em>
</dt>
<dd>
<p>Either a legacy numerical <em>ID</em> such as 15183, or a newer style
Change-Id that was scraped out of the commit message.</p>
</dd>
</dl>
<a id="owner"></a><dl>
<dt>
owner:<em>USER</em>
</dt>
<dd>
<p>Changes originally submitted by <em>USER</em>.</p>
</dd>
</dl>
<a id="reviewer"></a><dl>
<dt>
reviewer:<em>USER</em>
</dt>
<dd>
<p>Changes that have been, or need to be, reviewed by <em>USER</em>.</p>
</dd>
</dl>
<a id="commit"></a><dl>
<dt>
commit:<em>SHA1</em>
</dt>
<dd>
<p>Changes where <em>SHA1</em> is one of the patch sets of the change.</p>
</dd>
</dl>
<a id="project"></a><dl>
<dt>
project:<em>PROJECT</em>
</dt>
<dd>
<p>Changes occuring in <em>PROJECT</em>.  If <em>PROJECT</em> starts with <tt>^</tt> it
matches project names by regular expression.</p>
</dd>
</dl>
<a id="branch"></a><dl>
<dt>
branch:<em>BRANCH</em>
</dt>
<dd>
<p>Changes for <em>BRANCH</em>.  The branch name is the short name shown
in the web interface, without the traditional <em>refs/heads/</em>
prefix.  This operator is a shorthand for <em>refs:</em>.  Searching for
<em>branch:master</em> really means <em>ref:refs/heads/master</em>, and searching
for <em>branch:refs/heads/master</em> is the same as searching for
<em>ref:refs/heads/refs/heads/master</em>.</p>
<p>If <em>BRANCH</em> starts with <tt>^</tt> it matches branch names by regular
expression patterns.</p>
</dd>
</dl>
<a id="topic"></a><dl>
<dt>
topic:<em>TOPIC</em>
</dt>
<dd>
<p>Changes whose designated topic at upload was <em>TOPIC</em>.  This is
often combined with <em>branch:</em> and <em>project:</em> operators to select
all related changes in a series.</p>
<p>If <em>TOPIC</em> starts with <tt>^</tt> it matches topic names by regular
expression patterns.</p>
</dd>
</dl>
<a id="ref"></a><dl>
<dt>
ref:<em>REF</em>
</dt>
<dd>
<p>Changes where the destination branch is exactly the given <em>REF</em>
name.  Since <em>REF</em> is absolute from the top of the repository it
must start with <em>refs/</em>.</p>
<p>If <em>REF</em> starts with <tt>^</tt> it matches reference names by regular
expression patterns.</p>
</dd>
</dl>
<dl>
<dt>
tr:<em>ID</em>, bug:<em>ID</em>
</dt>
<dd>
<p>Search for changes whose commit message contains <em>ID</em> and matched
one or more of the
<a href="config-gerrit.html#trackingid">trackingid sections</a>
in the server's configuration file.  This is typically used to
search for changes that fix a bug or defect by the issue tracking
system's issue identifier.</p>
</dd>
</dl>
<a id="label"></a><dl>
<dt>
label:<em>VALUE</em>
</dt>
<dd>
<p>Matches changes where the approval score <em>VALUE</em> has been set during
a review.  See <a href="#labels">labels</a> below for more detail on the format
of the argument.</p>
</dd>
</dl>
<a id="message"></a><dl>
<dt>
message:<em>MESSAGE</em>
</dt>
<dd>
<p>Changes that matches <em>MESSAGE</em> arbitrary string in body commit messages.</p>
</dd>
</dl>
<a id="file"></a><dl>
<dt>
file:^<em>REGEX</em>
</dt>
<dd>
<p>Matches any change where REGEX matches a file that was affected
by the change.  The regular expression pattern must start with
<tt>^</tt>.  For example, to match all XML files use <tt>file:^.*\.xml$</tt>.</p>
<p>The <tt>^</tt> required at the beginning of the regular expression not only
denotes a regular expression, but it also has the usual meaning of
anchoring the match to the start of the string.  To match all Java
files, use <tt>file:^.*\.java</tt>.</p>
<p>The entire regular expression pattern, including the <tt>^</tt> character,
should be double quoted when using more complex construction (like
ones using a bracket expression). For example, to match all XML
files named like <em>name1.xml</em>, <em>name2.xml</em>, and <em>name3.xml</em> use
<tt>file:"^name[1-3].xml"</tt>.</p>
<p>Currently this operator is only available on a watched project
and may not be used in the search bar.</p>
</dd>
</dl>
<a id="has"></a><dl>
<dt>
has:draft
</dt>
<dd>
<p>True if there is a draft comment saved by the current user.</p>
</dd>
<dt>
has:star
</dt>
<dd>
<p>Same as <em>is:starred</em>, true if the change has been starred by the
current user.</p>
</dd>
</dl>
<a id="is"></a><dl>
<dt>
is:starred
</dt>
<dd>
<p>Same as <em>has:star</em>, true if the change has been starred by the
current user.</p>
</dd>
<dt>
is:watched
</dt>
<dd>
<p>True if this change matches one of the current user's watch filters,
and thus is likely to notify the user when it updates.</p>
</dd>
<dt>
is:reviewed
</dt>
<dd>
<p>True if there is at least one non-zero score on the change, in any
approval category, by any user.</p>
</dd>
<dt>
is:open
</dt>
<dd>
<p>True if the change is other open or submitted, merge pending.</p>
</dd>
<dt>
is:closed
</dt>
<dd>
<p>True if the change is either merged or abandoned.</p>
</dd>
<dt>
is:submitted, is:merged, is:abandoned
</dt>
<dd>
<p>Same as <a href="#status">status:<em>STATE</em></a>.</p>
</dd>
</dl>
<a id="status"></a><dl>
<dt>
status:open
</dt>
<dd>
<p>True if the change state is other <em>review in progress</em> or <em>submitted,
merge pending</em>.</p>
</dd>
<dt>
status:reviewed
</dt>
<dd>
<p>Same as <em>is:reviewed</em>, matches if there is at least one non-zero
score on the change, in any approval category, by any user.</p>
</dd>
<dt>
status:submitted
</dt>
<dd>
<p>Change has been submitted, but is waiting for a dependency.</p>
</dd>
<dt>
status:closed
</dt>
<dd>
<p>True if the change is either <em>merged</em> or <em>abandoned</em>.</p>
</dd>
<dt>
status:merged
</dt>
<dd>
<p>Change has been merged into the branch.</p>
</dd>
<dt>
status:abandoned
</dt>
<dd>
<p>Change has been abandoned by the change owner, or administrator.</p>
</dd>
</dl>
</div>
<h2>Boolean Operators</h2>
<div class="sectionbody">
<p>Unless otherwise specified, operators are joined using the <tt>AND</tt>
boolean operator, thereby restricting the search results.</p>
<p>Parentheses can be used to force a particular precendence on complex
operator expressions, otherwise OR has higher precendence than AND.</p>
<h3>Negation</h3>
<p>Any operator can be negated by prefixing it with <tt>-</tt>, for example
<tt>-is:starred</tt> is the exact opposite of <tt>is:starred</tt> and will
therefore return changes that are <strong>not</strong> starred by the current user.</p>
<p>The operator <tt>NOT</tt> (in all caps) is a synonym.</p>
<h3>AND</h3>
<p>The boolean operator <tt>AND</tt> (in all caps) can be used to join two
other operators together.  This results in a restriction of the
results, returning only changes that match both operators.</p>
<h3>OR</h3>
<p>The boolean operator <tt>OR</tt> (in all caps) can be used to find changes
that match either operator.  This increases the nubmer of results
that are returned, as more changes are considered.</p>
</div>
<h2><a id="labels"></a>Labels</h2>
<div class="sectionbody">
<p>Label operators can be used to match approval score given during
a code review.  The specific set of supported labels depends on
the server configuration, however <tt>CodeReview</tt> and <tt>Verified</tt>
are the default labels provided out of the box.</p>
<p>A label name is any of the following:</p>
<ul>
<li>
<p>
The category name.  If the category name contains spaces,
  it must be wrapped in double quotes.  Example: <tt>label:"Code Review"</tt>.
</p>
</li>
<li>
<p>
The name, without spaces.  This avoids needing to use double quotes
  for the common category Code Review.  Example: <tt>label:CodeReview</tt>.
</p>
</li>
<li>
<p>
The internal short name.  Example: <tt>label:CRVW</tt>, or <tt>label:VRIF</tt>.
</p>
</li>
<li>
<p>
The one or two character abbreviation shown in the column header
  of change list pages.  Example: <tt>label:R</tt> or <tt>label:V</tt>.
</p>
</li>
</ul>
<p>A label name must be followed by a score, or an operator and a score.
The easiest way to explain these are by example.</p>
<dl>
<dt>
<tt>label:CodeReview=2</tt>
</dt>
<dt>
<tt>label:CodeReview=+2</tt>
</dt>
<dt>
<tt>label:CodeReview+2</tt>
</dt>
<dd>
<p>Matches changes where there is at least one +2 score for Code Review.
The + prefix is optional for positive score values.  If the + is used,
the = operator is optional.</p>
</dd>
<dt>
<tt>label:CodeReview=-2</tt>
</dt>
<dt>
<tt>label:CodeReview-2</tt>
</dt>
<dd>
<p>Matches changes where there is at least one -2 score for Code Review.
Because the negative sign is required, the = operator is optional.</p>
</dd>
<dt>
<tt>label:CodeReview=1</tt>
</dt>
<dd>
<p>Matches changes where there is at least one +1 score for Code Review.
Scores of +2 are not matched, even though they are higher.</p>
</dd>
<dt>
<tt>label:CodeReview&gt;=1</tt>
</dt>
<dd>
<p>Matches changes with either a +1, +2, or any higher score.</p>
</dd>
<dt>
<tt>label:CodeReview&lt;=-1</tt>
</dt>
<dd>
<p>Matches changes with either a -1, -2, or any lower score.</p>
</dd>
<dt>
<tt>is:open CodeReview+2 Verified+1 -Verified-1 -CodeReview-2</tt>
</dt>
<dd>
<p>Matches changes that are ready to be submitted.</p>
</dd>
<dt>
<tt>is:open (Verified-1 OR CodeReview-2)</tt>
</dt>
<dd>
<p>Changes that are blocked from submission due to a blocking score.</p>
</dd>
</dl>
</div>
<h2>Magical Operators</h2>
<div class="sectionbody">
<p>Most of these operators exist to support features of Gerrit Code
Review, and are not meant to be accessed by the average end-user.
However, they are recognized by the query parser, and may prove
useful in limited contexts to administrators or power-users.</p>
<dl>
<dt>
visibleto:<em>USER-or-GROUP</em>
</dt>
<dd>
<p>Matches changes that are visible to <em>USER</em> or to anyone who is a
member of <em>GROUP</em>.  Here group names may be specified as either
an internal group name, or if LDAP is being used, an external LDAP
group name.  The value may be wrapped in double quotes to include
spaces or other special characters.  For example, to match an LDAP
group: <tt>visibleto:"CN=Developers, DC=example, DC=com"</tt>.</p>
<p>This operator may be useful to test access control rules, however a
change can only be matched if both the current user and the supplied
user or group can see it.  This is due to the implicit <em>is:visible</em>
clause that is always added by the server.</p>
</dd>
<dt>
is:visible
</dt>
<dd>
<p>Magical internal flag to prove the current user has access to read
the change.  This flag is always added to any query.</p>
</dd>
<dt>
starredby:<em>USER</em>
</dt>
<dd>
<p>Matches changes that have been started by <em>USER</em>.</p>
</dd>
<dt>
watchedby:<em>USER</em>
</dt>
<dd>
<p>Matches changes that <em>USER</em> has configured watch filters for.</p>
</dd>
<dt>
draftby:<em>USER</em>
</dt>
<dd>
<p>Matches changes that <em>USER</em> has left unpublished drafts on.
Since the drafts are unpublished, it is not possible to see the
draft text, or even how many drafts there are.</p>
</dd>
<dt>
limit:<em>CNT</em>
</dt>
<dd>
<p>Limit the returned results to no more than <em>CNT</em> records.  This is
automatically set to the page size configured in the current user's
preferences.  Including it in a web query may lead to unpredictable
results with regards to pagination.</p>
</dd>
<dt>
resume_sortkey:<em>KEY</em>
</dt>
<dd>
<p>Positions the low level scan routine to start from <em>KEY</em> and
continue through changes from this point.  This is most often used
for paginating result sets.  Including this in a web query may lead
to unpredictable results.</p>
</dd>
<dt>
sortkey_after:<em>KEY</em>, sortkey_before:<em>KEY</em>
</dt>
<dd>
<p>Restart the low level scan routine from <em>KEY</em>.  This is automatically
set by the pagination system as the user navigates through results
of a query.  Including either value in a web query may lead to
unpredictable results.</p>
</dd>
</dl>
</div>
<hr style="
  height: 2px;
  color: silver;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
">
<p>Part of <a href="index.html">Gerrit Code Review</a></p>
<div id="footer">
<div id="footer-text">
Version 2.1.6<br />
Last updated 08-Dec-2010 15:41:00 PDT
</div>
</div>
</body>
</html>
